<%-- 
    Document   : showannouncements
    Created on : Jun 3, 2012, 10:08:18 PM
    Author     : FRIENDS
--%>

<%@page import="AO.Announcement" contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"[]>
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en">
<head>
    
  <title>Post</title>
  <link rel="stylesheet" href="./css/poststyle.css" type="text/css" media="screen" />

</head>
    <body>
        <div id="art-page-background-glare-wrapper">
    <div id="art-page-background-glare"></div>
</div>

        <%
         String[] ids=helper.Announcement.getAnnouncementIds("private");
         int i=0;
         if(ids!=null)
         for(i=0;i<ids.length;i++)
            {
            Announcement announce=helper.Announcement.getAnnouncementBean(ids[i]);
          %>
<div id="art-main">
    <div class="cleared reset-box"></div>
    <div class="art-box art-sheet">
        <div class="art-box-body art-sheet-body">
            <div class="art-layout-wrapper">
                <div class="art-content-layout">
                    <div class="art-content-layout-row">
                        <div class="art-layout-cell art-content">
<div class="art-box art-post">
    <div class="art-box-body art-post-body">
<div class="art-post-inner art-article">
                                <h2 class="art-postheader"><span class="art-postheadericon"><%=announce.getSubject()%>
                                </span></h2>
                                                                <div class="art-postheadericons art-metadata-icons">
                    <span class="art-postdateicon"><%=announce.getAnnouncedate()%></span> | <span class="art-postauthoricon">Author <a href="#" title="Posts by Admin"><%=announce.getAuthor()%></a></span> | <span class="art-postediticon"><a href="#" title="Edit">Edit</a></span>
                </div>
                <div class="art-postcontent">
                    <%=announce.getDescription()%>
                </div>
                <div class="cleared"></div>
                                <div class="art-postfootericons art-metadata-icons">
                                    <span class="art-postcategoryicon">Category: <%=announce.getCatagory()%></span> | <span class="art-posttagicon">Tags: <a href="#" title="link">link</a>, <a href="#" title="visited link" class="visited">visited</a>, <a href="#" title="hovered link" class="hover">hovered</a></span> | <span class="art-postcommentsicon"><a href="#" title="Comments">No Comments »</a></span>
                </div>
                </div>

		<div class="cleared"></div>
    </div>
</div>

                          <div class="cleared"></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="cleared"></div>
            
    		
        </div>
    </div>

	
	
</div>
<% } %>
    </body>
</html>
